package dancrawler.client.gamecmd;

import dancrawler.client.Client;
import dancrawler.proto.cmd.CmdHandler;
import dancrawler.server.netMsg;

/**
 *
 */
public class CmdDie extends CmdHandler{
    private Client client;
    
    public CmdDie(Client client)
    {
        this.client = client;
    }

    @Override
    public void handleCmd(netMsg msg) {
        client.getRec().playerDeath();
    }

    @Override
    public int getId() {
        return 19;
    }

    @Override
    public CmdHandler getHandler() {
        return this;
    }
    
}
